From: Carlos Garnacho Date: Tue, 25 Jul 2017 13:44:30 +0000 (+0200) Subject: wayland: Clear tablet tool cursor on proximity out X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~39^2~456 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b53a6fb092590f157ba61ee66aa9970fb5cdeb51;p=gtk%2B3.0.git wayland: Clear tablet tool cursor on proximity out This ensures that the tablet tool will get the cursor updated even if it happens to fall within the same window again on the next proximity in. https://bugzilla.gnome.org/show_bug.cgi?id=785375 --- diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index f3bf2b4064..739572e190 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -3631,6 +3631,7 @@ tablet_tool_handle_proximity_out (void *data, tablet->pointer_info.focus = NULL; gdk_device_update_tool (tablet->current_device, NULL); + g_clear_object (&tablet->pointer_info.cursor); } static void